package newTest.test2;

import java.sql.SQLException;


import vo.UserVO;

public class testDaoMain {
	
	public static void main(String[] args) throws SQLException,ClassNotFoundException{
		
		UserDao DUserDao =  new UserDao();
		UserVO user = new UserVO();
		
		user.setId("test2");
		user.setName("testNm");
		user.setPassword("testPw");
		
		DUserDao.add(user);
		
		System.out.println("등록성공"+user.getName());
		
		UserVO user2 = new UserVO();
		user2 = DUserDao.get(user.getId());
		
		System.out.println("호출성공 : "+user2.getName());
		
		
	}

}
